package org.project.task.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.project.task.entity.Admin;
import org.project.task.service.AdminService;
import org.project.task.mapper.AdminMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author Zheng
* @description 针对表【admin(管理员信息表)】的数据库操作Service实现
* @createDate 2024-12-23 11:35:32
*/
@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin>
    implements AdminService{

    @Autowired
    private AdminMapper adminMapper;

    @Override
    public Admin login(String username, String encryptedPassword) {
        return adminMapper.login(username, encryptedPassword);
    }
}




